﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
  <title><%= Html.Encode(ViewData["Title"])%></title>
    <%= Html.Script("~/Scripts/Administration/Role.js")%>
    <%= Html.Script("~/Scripts/Administration/User.js")%>
    <%= Html.Script("~/Scripts/Administration/Administration.js")%>

    <script type="text/javascript">
        // <![CDATA[
        $(document).ready(function () {
            documentLoad();
        })
        // ]]>
    </script>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <style>
		.ui-autocomplete-loading { background: url(indicator.gif) no-repeat right; }		
	</style>

    <h2>Administration</h2>
    <table>
        <tr>
            <td>
                <input class="menu" type="button" value="Roles" section="Roles"/>
            </td>
              <td>
                <input class="menu" type="button" value="Users" section="Users"/>
            </td>
              <td>
                <input class="menu" type="button" value="Application Settings" section="ApplicationSettings"/>
            </td>
        </tr>
           <tr>
            <td>
                <input class="menu" type="button" value="Application Log" section="ApplicationLog"/>
            </td>
              <td>
                <input class="menu" type="button" value="Email Log" section="EmailLog"/>
            </td>
              <td>
               &nbsp
            </td>
        </tr>
    </table>
        
    <!-- Roles -->
    <div id="Roles" target="Load_Roles" style="display:none">
        <div id="RolesTable">
        </div>
    </div>
    <!-- Users -->
    <div id="Users" target="Load_Users" style="display:none">
    </div>
    
    <!-- Application Settings -->
    <div id="ApplicationSettings" target="ApplicationSettings_Load" style="display:none">
    </div>
    <!-- Application Log -->
    <div id="ApplicationLog" style="display:none">
    </div>
    <!-- Email Log -->
    <div id="EmailLog" style="display:none">
    </div>
</asp:Content>


